/* SEO优化页面专用样式 */

/* 确保body保持原有的居中布局 */
body {
    position: relative;
}

/* SEO内容区域样式 */
.seo-content {
    position: absolute;
    top: 100vh;
    left: 0;
    right: 0;
    width: 100%;
    background: inherit;
    z-index: 1;
    padding: 40px 20px;
}

/* 页面头部样式 */
.page-header {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-header h1 {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    font-weight: 700;
    line-height: 1.2;
}

.subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
    margin-bottom: 0;
    font-weight: 300;
}

/* 内容区块通用样式 */
.features, .themes, .usage, .about, .faq {
    max-width: 900px;
    margin: 3rem auto;
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* 标题样式 */
.features h2, .themes h2, .usage h2, .about h2, .faq h3 {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.faq h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

/* 功能网格布局 */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.feature-item h3 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.feature-item p, .themes p, .about p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    font-size: 1rem;
    margin-bottom: 0;
}

/* 使用说明列表样式 */
.usage ol {
    color: rgba(255, 255, 255, 0.85);
    padding-left: 2rem;
    line-height: 1.7;
}

.usage li {
    margin-bottom: 1rem;
    font-size: 1rem;
}

.usage li strong {
    color: #fff;
    font-weight: 600;
}

/* FAQ样式 */
.faq-item {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border-left: 4px solid rgba(255, 255, 255, 0.2);
}

.faq-item h4 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.faq-item p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin-bottom: 0;
}

/* 主题适配 - 明亮主题 */
body.theme-light .page-header h1,
body.theme-light .features h2,
body.theme-light .themes h2,
body.theme-light .usage h2,
body.theme-light .about h2,
body.theme-light .faq h3,
body.theme-light .feature-item h3,
body.theme-light .faq-item h4 {
    color: #333;
    text-shadow: none;
}

body.theme-light .subtitle,
body.theme-light .feature-item p,
body.theme-light .themes p,
body.theme-light .about p,
body.theme-light .usage ol,
body.theme-light .usage li strong,
body.theme-light .faq-item p {
    color: rgba(0, 0, 0, 0.8);
}

body.theme-light .usage li strong {
    color: #333;
}

body.theme-light .features,
body.theme-light .themes,
body.theme-light .usage,
body.theme-light .about,
body.theme-light .faq {
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

body.theme-light .feature-item,
body.theme-light .faq-item {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.05);
}

body.theme-light .feature-item:hover {
    background: rgba(0, 0, 0, 0.08);
}

body.theme-light .faq-item {
    border-left-color: rgba(0, 0, 0, 0.2);
}

/* 主题适配 - 护眼主题 */
body.theme-eyecare .page-header h1,
body.theme-eyecare .features h2,
body.theme-eyecare .themes h2,
body.theme-eyecare .usage h2,
body.theme-eyecare .about h2,
body.theme-eyecare .faq h3,
body.theme-eyecare .feature-item h3,
body.theme-eyecare .faq-item h4 {
    color: #2c7a4c;
    text-shadow: none;
}

body.theme-eyecare .subtitle,
body.theme-eyecare .feature-item p,
body.theme-eyecare .themes p,
body.theme-eyecare .about p,
body.theme-eyecare .usage ol,
body.theme-eyecare .faq-item p {
    color: rgba(44, 122, 76, 0.9);
}

body.theme-eyecare .usage li strong {
    color: #2c7a4c;
}

body.theme-eyecare .features,
body.theme-eyecare .themes,
body.theme-eyecare .usage,
body.theme-eyecare .about,
body.theme-eyecare .faq {
    background: rgba(44, 122, 76, 0.05);
    border: 1px solid rgba(44, 122, 76, 0.1);
}

body.theme-eyecare .feature-item,
body.theme-eyecare .faq-item {
    background: rgba(44, 122, 76, 0.03);
    border-color: rgba(44, 122, 76, 0.05);
}

body.theme-eyecare .feature-item:hover {
    background: rgba(44, 122, 76, 0.08);
}

body.theme-eyecare .faq-item {
    border-left-color: rgba(44, 122, 76, 0.3);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .seo-content {
        padding: 30px 15px;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .features, .themes, .usage, .about, .faq {
        padding: 1.5rem;
        margin: 2rem auto;
    }
    
    .features h2, .themes h2, .usage h2, .about h2, .faq h3 {
        font-size: 1.6rem;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-item {
        padding: 1rem;
    }
    
    .usage ol {
        padding-left: 1.5rem;
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    .features, .themes, .usage, .about, .faq {
        padding: 1rem;
    }
    
    .features h2, .themes h2, .usage h2, .about h2, .faq h3 {
        font-size: 1.4rem;
    }
}

/* 全屏模式下隐藏SEO内容 */
:fullscreen .seo-content {
    display: none;
}

:-webkit-full-screen .seo-content {
    display: none;
}

:-moz-full-screen .seo-content {
    display: none;
}

/* 确保全屏模式下时钟居中 */
:fullscreen body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

:-webkit-full-screen body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

:-moz-full-screen body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}